﻿Public Class Frm_halat_da3wa

    Private Sub Frm_halat_da3wa_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        Frm_Dossier.Enabled = True
        Partager.com_ville(Frm_Dossier.Comb_halat_da3wa, "Comb_halat_da3wa", "halat_da3wa")
    End Sub

    Private Sub Frm_halat_da3wa_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        txt_halat_da3wa.Select()
        Partager.RemplirList(List_halat_da3wa, "Comb_halat_da3wa", "halat_da3wa")
    End Sub

    Private Sub btn_ajout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ajout.Click
        Partager.AjouterWadifa(txt_halat_da3wa, List_halat_da3wa, "Comb_halat_da3wa", "halat_da3wa")
    End Sub

    Private Sub btn_supp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_supp.Click
        Partager.DeleteFromList(List_halat_da3wa, "Comb_halat_da3wa", "halat_da3wa", txt_halat_da3wa)
    End Sub
End Class